version 1.0
workflow test{
    input{
	File a1
	File b1
	String out1
    }

	call task_A as tt  { input: a=a1, b=b1, out=out1}
    call task_A as tt2 { input: a=a1, b=b1, out=out1}
    call task_A as tt3 { input: a=a1, b=b1, out=out1}

    
    output{
        File out = tt.outfile
    }
}


task task_A {
    input{
    File a='a'
    File b='b'
    String out
    }
    command {
    echo ${a} ${b} >${out}.txt
    }
    output {
    File outfile="${out}.txt"
    }
}

